package vista;

import javax.swing.JScrollPane;
import javax.swing.JTable;

import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.SwingUtilities;

/**
 * This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI
 * Builder, which is free for non-commercial use. If Jigloo is being used
 * commercially (ie, by a corporation, company or business for any purpose
 * whatever) then you should purchase a license for each developer using Jigloo.
 * Please visit www.cloudgarden.com for details. Use of Jigloo implies
 * acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN
 * PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR
 * ANY CORPORATE OR COMMERCIAL PURPOSE.
 */
public class ReposicionInsumos extends javax.swing.JFrame {
	private JTable movimientos;
	private JScrollPane jScrollPane1;

	/**
	 * Auto-generated main method to display this JFrame
	 */
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				ReposicionInsumos inst = new ReposicionInsumos();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}

	public ReposicionInsumos() {
		super();
		initGUI();
	}

	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				jScrollPane1 = new JScrollPane();
				getContentPane().add(jScrollPane1);
				jScrollPane1.setBounds(73, 128, 622, 232);
				{
					TableModel movimientosModel = new DefaultTableModel(
							new String[][] {
									{ "Belgrano", "Cocina", "Salsa",
											"Existencias", "34", "2" },
									{ "Caballito", "Barra", "Coca-Cola",
											"Existencias", "100", "10" }, },
							new String[] { "Sucursal", "Sector", "Insumo",
									"Existencias", "Cantidad",
									"Estimado de dias" });
					movimientos = new JTable();
					jScrollPane1.setViewportView(movimientos);
					movimientos.setModel(movimientosModel);
					movimientos.setBounds(99, 128, 476, 99);
				}
			}
			pack();
			this.setSize(795, 429);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
